package com.beidouapp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.RowBounds;

import com.beidouapp.domain.pojo.PrjProgress;
import com.beidouapp.domain.pojo.Project;

public interface ProjectMapper {

	List<Project> findProjectByMap(RowBounds rowBounds,
			Map<String, Object> params);

	public Integer findProjectCountByMap(Map<String, Object> params);

	Project getProjectById(String id);

	public List<PrjProgress> findPrjProgressByMap(Map<String, Object> params);

	Integer save(Project project);

	void update(Project project);

	void savePrjProgress(PrjProgress prjProgress);

	void updatePrjProgress(PrjProgress prjProgress);
	
	Project getOnAndOffLineMan(Project project);
	
	PrjProgress  getPrjProgressById(String id);
	
	PrjProgress getMaxFollowTimePrj(String id);
}